<?php if (!defined('THINK_PATH')) exit();?><div class="bjui-pageHeader">
    <div class="pull-right">
        <button class="btn-default" data-icon="refresh" onclick="$.CurrentNavtab.navtab('refresh')"></button>
    </div>
    <form id="pagerForm" data-toggle="ajaxsearch" data-loadingmask="true" action="<?php echo U('Index/save');?>" method="post">
        <input type="hidden" name="pageSize" value="<?php echo I('param.pageSize');?>" />
        <input type="hidden" name="pageCurrent" value="<?php echo I('param.pageCurrent');?>" />
        <input type="hidden" name="orderField" value="<?php echo I('param.orderField');?>" />
        <input type="hidden" name="orderDirection" value="<?php echo I('param.orderDirection');?>" />
    </form>
</div>
<div class="bjui-pageContent tableContent">
    <table class="table table-bordered table-hover table-striped table-top" data-selected-multi="false">
        <thead>
        <tr>
            <th width="100">LOGO</th>
            <th>名称</th>
            <th>状态</th>
            <th width="100">操作</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td><img src="http://www.bxd.com/Public/images/zfblogo.jpg" width="100" alt=""></td>
            <td>支付宝登录</td>
            <td><a href="<?php echo U('Index/save');?>" data-toggle="doajax" data-confirm-msg="要开启支付宝登录吗">已禁用</a></td>
            <td>
                <button type="button" class="btn-green" onclick="createDialog('<?php echo U("Forms/pay", array("type"=>6));?>', '支付宝登录', 'pay', {width:700, height:500})">改</button>
            </td>
        </tr>
        <tr>
            <td><img src="http://www.bxd.com/Public/images/qqlogo.jpg" width="100" alt=""></td>
            <td>QQ登录</td>
            <td><a href="<?php echo U('Index/save');?>" data-toggle="doajax" data-confirm-msg="要禁用QQ登录吗">已启用</a></td>
            <td>
                <button type="button" class="btn-green" onclick="createDialog('<?php echo U("Forms/pay", array("type"=>7));?>', 'QQ登录', 'pay', {width:700, height:500})">改</button>
            </td>
        </tr>
        <tr>
            <td><img src="http://www.bxd.com/Public/images/wxlogo.jpg" width="100" alt=""></td>
            <td>微信登录</td>
            <td><a href="<?php echo U('Index/save');?>" data-toggle="doajax" data-confirm-msg="要开启微信登录吗">已禁用</a></td>
            <td>
                <button type="button" class="btn-green" onclick="createDialog('<?php echo U("Forms/pay", array("type"=>8));?>', '微信登录', 'pay', {width:700, height:500})">改</button>
            </td>
        </tr>
        </tbody>
    </table>
</div>

<div class="bjui-pageFooter">
		
	<?php if(page == save): ?><ul>
			<li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
	        <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
	    </ul>
	<?php elseif(page == close): ?>
	    <ul>
	        <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
	    </ul>
	<?php elseif(page == page and $show != null): ?>
		<ul>
	        <li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
	    </ul>
		    <div class="pages">
		        <span>每页&nbsp;</span>
		        <div class="selectPagesize">
		            <select data-toggle="selectpicker" data-toggle-change="changepagesize">
		                <option value="<?php echo ($show['listrow']); ?>"><?php echo ($show['listrow']); ?></option>
		                <option value="60">60</option>
		                <option value="120">120</option>
		                <option value="150">150</option>
		            </select>
		        </div>
		        <span>&nbsp;条，共 <?php echo ($show['total']); ?> 条</span>
		    </div>
		    <div class="pagination-box" data-toggle="pagination" data-total="<?php echo ($show['total']); ?>" data-page-size="<?php echo ($show['listrow']); ?>" data-page-current="1">
		    </div>
	<?php elseif(page == page and $show == null): ?>
		<ul>
			<li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
		</ul>
	<?php else: ?>
		<ul>
			<li><button type="button" class="btn-close" data-icon="close">关闭</button></li>
		</ul><?php endif; ?>

</div>